﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BugTracker.Models
{
    public class HomeViewModel { }
    // ENUMS
    public enum BugTypes { High, Medium, Low }


    // VM - index page
    public class IndexViewModel {
        public List<WorkItem> Buggs { get; set; }
    }




    // M - Work Item
    public class WorkItem {
        public string Text { get; set; }
        public DateTime DateCreated { get; set; }
        public BugTypes Priority { get; set; }
    }
    // M - Bug Class
    public class BugClass : WorkItem {
        public string Step { get; set; }
    }
    // M - Task Class
    public class TaskClass : WorkItem {
        public string Description { get; set; }
    }
}